MOOS_INC_PATH=../MOOS/MOOS/Core      
MOOS_LIB_PATH=../MOOS/MOOS/MOOSBin      

export MOOS_INC_PATH
export MOOS_LIB_PATH

all:
	make -C MOOS/MOOS all
	make -C DESTCTRL all
	make -C CONTROL all
	make -C PROPULSION all
	make -C RONILICA all
clean:
	make -C MOOS/MOOS clean        
	make -C DESTCTRL clean
	make -C CONTROL clean
	make -C PROPULSION clean
	make -C RONILICA clean
	rm -f *~
run:
	make -C DESTCTRL run
	make -C CONTROL run
	make -C PROPULSION run
	make -C RONILICA run
	gnome-terminal --title="MOOSDB" -x MOOS/MOOS/MOOSBin/MOOSDB